package com.tdcoding.chat.dbase.mapper;

import java.util.List;

import com.tdcoding.chat.entities.ComplainInfo;

public interface ComplainMapper {
	int addComplainInfo(ComplainInfo complainInfo);

	List<ComplainInfo> queryComplainById(long userId);

	List<ComplainInfo> queryComplainByType(int complainType);

	int deleteComplainInfo(long userId, long complainId);

	int deleteComplainById(long userId);

	int deleteComplainByType(int complainType);
}
